package com.ruoyi.exam.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 补缓考任务管理对象 exam_task
 * 
 * @author ruoyi
 * @date 2025-11-11
 */
public class ExamTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务ID */
    private Long taskId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 学期 */
    @Excel(name = "学期")
    private String semester;

    /** 排考截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排考截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date arrangeDeadline;

    /** 审核截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditDeadline;

    /** 状态（0进行中 1已结束） */
    @Excel(name = "状态", readConverterExp = "0=进行中,1=已结束")
    private String status;

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }

    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }

    public void setSemester(String semester) 
    {
        this.semester = semester;
    }

    public String getSemester() 
    {
        return semester;
    }

    public void setArrangeDeadline(Date arrangeDeadline) 
    {
        this.arrangeDeadline = arrangeDeadline;
    }

    public Date getArrangeDeadline() 
    {
        return arrangeDeadline;
    }

    public void setAuditDeadline(Date auditDeadline) 
    {
        this.auditDeadline = auditDeadline;
    }

    public Date getAuditDeadline() 
    {
        return auditDeadline;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("taskName", getTaskName())
            .append("semester", getSemester())
            .append("arrangeDeadline", getArrangeDeadline())
            .append("auditDeadline", getAuditDeadline())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
